package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生参加本领域国内外重要学术会议情况对象 t_topic
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class TTopic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 年度 */
    @Excel(name = "年度")
    private Long tYear;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String name;

    /** 学生类型 */
    @Excel(name = "学生类型")
    private String type;

    /** 会议名称 */
    @Excel(name = "会议名称")
    private String pName;

    /** 报告题目 */
    @Excel(name = "报告题目")
    private String topicName;

    /** 报告时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报告时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date topicTime;

    /** 报告地址 */
    @Excel(name = "报告地址")
    private String topicAddress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void settYear(Long tYear) 
    {
        this.tYear = tYear;
    }

    public Long gettYear() 
    {
        return tYear;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setTopicName(String topicName) 
    {
        this.topicName = topicName;
    }

    public String getTopicName() 
    {
        return topicName;
    }
    public void setTopicTime(Date topicTime) 
    {
        this.topicTime = topicTime;
    }

    public Date getTopicTime() 
    {
        return topicTime;
    }
    public void setTopicAddress(String topicAddress) 
    {
        this.topicAddress = topicAddress;
    }

    public String getTopicAddress() 
    {
        return topicAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tYear", gettYear())
            .append("name", getName())
            .append("type", getType())
            .append("pName", getpName())
            .append("topicName", getTopicName())
            .append("topicTime", getTopicTime())
            .append("topicAddress", getTopicAddress())
            .toString();
    }
}
